import Vue from 'vue'
import App from './App.vue'
import router from './router/'
import i18n from '@/locale'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import './styles/public/swiper-bundle.css';
import Public from '@/libs/public'

Vue.use(ElementUI, {
    i18n: (key, value) => i18n.t(key, value)
})

Vue.config.productionTip = false;
Vue.prototype.$public = Public;

import plugins from './plugins'
Vue.use(plugins);

new Vue({
  router,
  i18n,
  store,
  render: h => h(App)
}).$mount('#app')
